\begin{tikzpicture}
  \tikzset{
    matrixstyle/.style={
      matrix of nodes, 
      nodes in empty cells, 
      matrix anchor=north west,
      nodes={anchor=west, minimum height=2em, text width=2em}},
    nodestyle/.style={draw, text width=10em},
    symbl/.style={
      matrix of nodes, 
      nodes in empty cells, 
      matrix anchor=north west,
      nodes={anchor=west, minimum height=1.5em, text width=2em,draw},
      column 3/.style={text=blue}
    },
  }
  \node [anchor=north west] at(0,0) {基本块内下述四元式序列如下：};
  \node [anchor=north west] at(0,-0.5) {QT[q: ]};
  \matrix [matrixstyle] at (0,-1)
  {
    \node[draw](n00){};&\node[nodestyle,text=blue]{q:($\omega$ B(L) C(L) A(L))};\\
    \node[draw](n10){};&\node[nodestyle]{(1)(+ $a(\ )$ $b(\ )$ $t_1(\ )$)};\\
    \node[draw](n20){};&\node[nodestyle]{(2)(- $c(\ )$ $d(\ )$ $t_2(\ )$)};\\
    \node[draw](n30){};&\node[nodestyle]{(3)(* $t_1( )$ $t_2( )$ $t_3( )$)};\\
    \node[draw](n40){};&\node[nodestyle]{(4)(- $a( )$ $t_3( )$ $t_4( )$)};\\
    \node[draw](n50){};&\node[nodestyle]{(5)(/ $t_1( )$ 2 $t_5( )$)};\\
    \node[draw](n60){};&\node[nodestyle]{(6)(+ $t_4( )$ $t_5( )$ $x( )$)};\\
  };
  \draw [red] (6,0) rectangle (9.25,-7);
  \draw [-] (n00.north west) -- (n00.south east);
  \node [anchor=north west] at(6,0) {SYMBL[X(L)]};
  \matrix [symbl] at (6,-0.5) (m)
  {
    &\ldots&L\\
    $a$&&y\\
    $b$&&y\\
    $c$&&y\\
    $d$&&y\\
    $t_1$&&n\\
    $t_2$&&n\\
    $t_3$&&n\\
    $t_4$&&n\\
    $t_5$&&n\\
    $x$&&y\\
  };
  \draw [-] (m-1-1.north west) -- (m-1-1.south east);
\end{tikzpicture}